package com.yaj.mesif.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei
 * @since 2021-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TO_CAN_ORDER")
@ApiModel(value="ToCanOrder对象", description="")
public class ToCanOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "シーケンスNO")
    @TableId(value = "SEQ_NO", type = IdType.AUTO)
    private Long seqNo;

    @ApiModelProperty(value = "オーダNO")
    @TableField("ORDER_NO")
    private String orderNo;

    @ApiModelProperty(value = "取消日")
    @TableField("CANCEL_DATE")
    private Date cancelDate;

    @ApiModelProperty(value = "枝番")
    @TableField("BR_NO")
    private String brNo;

    @ApiModelProperty(value = "数量")
    @TableField("QTY")
    private BigDecimal qty;

    @ApiModelProperty(value = "単位")
    @TableField("UNIT")
    private String unit;

    @ApiModelProperty(value = "製造部署ID")
    @TableField("MFGST_ID")
    private String mfgstId;

    @ApiModelProperty(value = "保管場所ID")
    @TableField("STOCK_ID")
    private String stockId;

    @ApiModelProperty(value = "棚番")
    @TableField("STORAGE_ID")
    private String storageId;

    @ApiModelProperty(value = "処理フラグ")
    @TableField("PROCESSFLAG")
    private String processflag;

    @ApiModelProperty(value = "備考")
    @TableField("NOTES")
    private String notes;

    @ApiModelProperty(value = "作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "作成日時")
    @TableField(fill = FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新日時")
    @TableField(fill=FieldFill.UPDATE)
    private Date updateTimestamp;


}
